package com.openbravo.pos.sales;

import java.util.EventListener;

import com.openbravo.pos.printer.TicketPrinterException;
import com.openbravo.pos.sales.event.TicketEvent;
import com.openbravo.pos.scripting.ScriptException;

public interface I_TicketListener extends EventListener {

	public void fireTicketCreated(TicketEvent e) throws TicketPrinterException, ScriptException;
	
	public void fireTicketSaved(TicketEvent e) throws TicketPrinterException;
	
	public void fireTicketFlushed(TicketEvent e) throws TicketPrinterException, ScriptException;
	
	public void fireTicketDeleted(TicketEvent e) throws TicketPrinterException, ScriptException;
	
}
